package com.huaxin.hxmodulesystem.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.huaxin.hxmodulesystem.models.ElectricianOrganizationFamily;
import com.huaxin.hxmodulesystem.models.ElectricianScope;
import com.huaxin.hxmodulesystem.models.Family;
import com.huaxin.hxmodulesystem.models.Organization;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ElectricianOrganizationFamilyMapper extends BaseMapper<ElectricianOrganizationFamily> {
    List<ElectricianScope> electricianScopeList();

    //根据电工id查询家庭列表
    List<Family> GetFamilyeListByElectricianId(String electricianId);

    //根据电工id查询组织列表
    List<Organization> GetOrgListByElectricianId(String electricianId);
}
